package com.hitalkie.teacher.model;

import android.text.TextUtils;

import com.hitalkie.teacher.app.TalkieApplication;

/**
 * Date 9/21/16
 *
 * @author charliema
 */
public class TopicHint extends BaseModel {
    public long id ;
    public String description; // "3 description", 貌似废弃
    public String title; // "3 title", 貌似废弃
    public String title_zh;
    public String title_en;
    public String detail_zh;
    public String detail_en;
    public String audio_host; // "null,
    public String audio_student; // "null,
    public String audio_score; // "null
    public String keywords;

    public boolean isExpanding = false; // 显示用


    public String getTitle() {
        return TextUtils.equals(TalkieApplication.getLanguage(), "en") ? title_en : title_zh;
    }

    public String getDetail() {
        return TextUtils.equals(TalkieApplication.getLanguage(), "en") ? detail_en : detail_zh;
    }
}
